<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="__ADMIN__/css/pintuer.css">
<link rel="stylesheet" href="__ADMIN__/css/admin.css">
<script src="__ADMIN__/js/jquery.js"></script>
<script src="__ADMIN__/js/pintuer.js"></script>
<!-- 百度编辑器 -->
      <script type="text/javascript" charset="utf-8" src="/ueditor/ueditor.config.js"></script>
      <script type="text/javascript" charset="utf-8" src="/ueditor/ueditor.all.min.js"> </script>
      <script type="text/javascript" charset="utf-8" src="/ueditor/lang/zh-cn/zh-cn.js"></script>
</head>
<body>
<div class="panel admin-panel">
  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>添加广告服务</strong></div>
  <div class="body-content">
   <form method="post" class="form-x" action="{:url('admin/adser/add')}" enctype="multipart/form-data">
      <div class="form-group">
        <div class="label">
          <label>广告标题：</label>
        </div>
        <div class="field">
          <input type="text" class="input w300" style="width:300px;" value="" name="title" data-validate="required:请输入广告标题" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>广告内容：</label>
        </div>
        <div class="field">
          <textarea name="content" id="myEditor" style="width:577px;height:300px;margin-left:100px;"></textarea>
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>联系电话：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="phone" value=""/>
          <div class="tips"></div>
        </div>
      </div>

      <div class="form-group">
        <div class="label">
          <label>QQ：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="qq" value=""/>
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>广告图片：</label>
        </div>
        <div class="field">
          <input type="file" id="url1" name="pic" class="button bg-blue margin-left" style="width:25%; float:left;border-style:none;background-color: #0ae;"  data-toggle="hover" data-place="right" data-image="" />
          <div class="tips"></div>
        </div>
      </div>
        <div class="form-group">
          <div class="label">
            <label>应用状态：</label>
          </div>
          <div class="field" style="padding-top:8px;"> 
            应用 <input name="status" value="1" type="radio" checked />
            禁用 <input name="status" value="2" type="radio"/>
          </div>
        </div>

      <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
        </div>
      </div>
    </form>
  </div>
</div>
</body></html>
<script type="text/javascript">
    var  ue=UE.getEditor('myEditor');
</script>